module.exports = {
  development: {
    dataBase: {
      host: "localhost",
      port: 3306,
      dbname: "juzhaiwenxue",
      user: "root",
      password: "root"
    },
    redis: {
      port: 6379,
      host: "127.0.0.1",
      prefix: "sam:",
      ttl: 60 * 60 * 24,
      family: 4,
      db: 0
    }
  },
  production: {
    dataBase: {
      host: "129.211.174.106",
      port: 3306,
      dbname: "juzhaiwenxue",
      user: "root",
      password: "ZIxiao348998!"
    },
    redis: {
      port: 6380,
      host: "129.211.174.106",
      password: 'ZIxiao348998!',
      prefix: "sam:",
      ttl: 60 * 60 * 24,
      family: 4,
      db: 0
    }
  },
  qiniuConfig: {
    bucketDomain: 'http://file.juzhaiwenxue.com',
    AccessKey: 'Ru9_JxKX-VqfsaSFeKlkIWWOTRWdldGzoCYHLpgo',
    SecretKey: '7T0dc7xlCjjyPNB_nUwJa0b5tnH0V1PsGLE10lMF',
    bucket: 'xuzixiao',
    // 华南
    Zone: 'Zone_z2'
  }
}
